package za.org.jcicada.cfgmngr.messages;

import java.util.Set;

import za.org.jcicada.genss.SystemURN;
import za.org.jcicada.genss.messages.ReplyMessage;
import za.org.jcicada.genss.messages.Result;
import za.org.jcicada.genss.sensor.SensorURN;

/**
 * AcknowledgeAlarmInform.java
 *
 * @author Simon Cross
 *
 * Created on December 18, 2008, 14:26
 */

/**
 * A AcknowledgeAlarmInform message.
 */
public class SensorSetReply extends ReplyMessage {

    /** Class serialization version id. */
    private static final long serialVersionUID = 1L;

    /** System URN. */
    private SystemURN systemURN;

    /** Set of sensor URNs. */
    private Set<SensorURN> sensorURNs;

    /**
     * Construct message
     * 
     * @param alarmURI the URI of the alarm to acknowledge
     */
    public SensorSetReply(Result result, SystemURN systemURN, Set<SensorURN> sensorURNs) {
        super(result);
        this.systemURN = systemURN;
        this.sensorURNs = sensorURNs;
    }

    public SystemURN getSystemURN() {
        return systemURN;
    }

    public Set<SensorURN> getSensorURNs() {
        return sensorURNs;
    }

}
